object VDGO_RepEditForm: TVDGO_RepEditForm
  Left = 0
  Top = 0
  BorderStyle = bsDialog
  Caption = #1057#1086#1079#1076#1072#1085#1080#1077'/'#1080#1079#1084#1077#1085#1077#1085#1080#1077' '#1079#1072#1087#1080#1089#1080
  ClientHeight = 235
  ClientWidth = 569
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  OldCreateOrder = False
  Position = poMainFormCenter
  OnClose = FormClose
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 13
  object lc1: TdxLayoutControl
    Left = 0
    Top = 0
    Width = 569
    Height = 235
    Align = alClient
    TabOrder = 0
    LayoutLookAndFeel = lcf1
    object cbb_SrvDog: TcxLookupComboBox
      Left = 149
      Top = 50
      Properties.DropDownSizeable = True
      Properties.ImmediatePost = True
      Properties.KeyFieldNames = 'CODE'
      Properties.ListColumns = <
        item
          FieldName = 'NAME'
        end>
      Properties.ListOptions.ShowHeader = False
      Properties.ListSource = src_SrvDog
      Properties.OnValidate = cbb_SrvDogPropertiesValidate
      Style.HotTrack = False
      TabOrder = 1
      Width = 145
    end
    object cbb_Kontr: TcxLookupComboBox
      Left = 149
      Top = 23
      Properties.DropDownSizeable = True
      Properties.ImmediatePost = True
      Properties.KeyFieldNames = 'CODE'
      Properties.ListColumns = <
        item
          FieldName = 'NAME'
        end>
      Properties.ListOptions.ShowHeader = False
      Properties.ListSource = src_kontr
      Properties.OnEditValueChanged = cbb_KontrPropertiesEditValueChanged
      Style.HotTrack = False
      TabOrder = 0
      Width = 145
    end
    object cbb_Y: TcxComboBox
      Left = 149
      Top = 77
      Properties.DropDownListStyle = lsEditFixedList
      Properties.ImmediatePost = True
      Properties.Items.Strings = (
        '2014'
        '2015'
        '2016'
        '2017'
        '2018'
        '2019'
        '2020')
      Properties.OnValidate = cbb_YPropertiesValidate
      Style.HotTrack = False
      TabOrder = 2
      Text = '2015'
      Width = 121
    end
    object m_Note: TcxMemo
      Left = 20
      Top = 122
      Style.HotTrack = False
      TabOrder = 3
      Height = 53
      Width = 561
    end
    object btn_OK: TcxButton
      Left = 373
      Top = 194
      Width = 85
      Height = 25
      Caption = #1054#1082
      OptionsImage.ImageIndex = 33
      OptionsImage.Images = cmDb.iml1
      TabOrder = 4
      OnClick = btn_OKClick
    end
    object btn_Cancel: TcxButton
      Left = 474
      Top = 194
      Width = 85
      Height = 25
      Caption = #1054#1090#1084#1077#1085#1080#1090#1100
      ModalResult = 2
      OptionsImage.ImageIndex = 12
      OptionsImage.Images = cmDb.iml1
      TabOrder = 5
    end
    object grp1: TdxLayoutGroup
      AlignHorz = ahClient
      AlignVert = avClient
      ButtonOptions.Buttons = <>
      Hidden = True
      ShowBorder = False
      Index = -1
    end
    object lGrplc1Group1: TdxLayoutGroup
      AlignHorz = ahClient
      CaptionOptions.Text = 'New Group'
      CaptionOptions.Visible = False
      Parent = grp1
      SizeOptions.AssignedValues = [sovSizableHorz, sovSizableVert]
      SizeOptions.SizableHorz = False
      SizeOptions.SizableVert = True
      ButtonOptions.Buttons = <>
      Index = 0
    end
    object lGrplc1Group2: TdxLayoutGroup
      CaptionOptions.Text = 'New Group'
      Parent = grp1
      ButtonOptions.Buttons = <>
      LayoutDirection = ldHorizontal
      ShowBorder = False
      Index = 1
    end
    object litm_lc1Item1: TdxLayoutItem
      CaptionOptions.Text = #1044#1086#1075#1086#1074#1086#1088
      Parent = lGrplc1Group1
      Control = cbb_SrvDog
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object litm_lc1Item11: TdxLayoutItem
      CaptionOptions.Text = #1055#1086#1076#1088#1103#1076#1085#1072#1103' '#1086#1088#1075#1072#1085#1080#1079#1072#1094#1080#1103
      Parent = lGrplc1Group1
      Control = cbb_Kontr
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object litm_lc1Item12: TdxLayoutItem
      AlignHorz = ahLeft
      CaptionOptions.Text = #1043#1086#1076
      Parent = lGrplc1Group1
      Control = cbb_Y
      ControlOptions.ShowBorder = False
      Index = 2
    end
    object litm_lc1Item13: TdxLayoutItem
      CaptionOptions.Text = #1044#1086#1087#1086#1083#1085#1080#1090#1077#1083#1100#1085#1072#1103' '#1080#1085#1092#1086#1088#1084#1072#1094#1080#1103
      CaptionOptions.Layout = clTop
      Parent = lGrplc1Group1
      Control = m_Note
      ControlOptions.ShowBorder = False
      Index = 3
    end
    object litm_lc1Item14: TdxLayoutItem
      AlignHorz = ahRight
      CaptionOptions.Text = 'cxButton1'
      CaptionOptions.Visible = False
      Offsets.Right = 10
      Parent = lGrplc1Group2
      Control = btn_OK
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object litm_lc1Item15: TdxLayoutItem
      AlignHorz = ahRight
      CaptionOptions.Text = 'cxButton1'
      CaptionOptions.Visible = False
      Parent = lGrplc1Group2
      Control = btn_Cancel
      ControlOptions.ShowBorder = False
      Index = 1
    end
  end
  object lf1: TdxLayoutLookAndFeelList
    Left = 760
    Top = 120
    object lcf1: TdxLayoutCxLookAndFeel
    end
  end
  object prop1: TcxPropertiesStore
    Components = <>
    StorageName = 'prop1'
    Left = 728
    Top = 120
  end
  object src_kontr: TDataSource
    Left = 312
    Top = 80
  end
  object src_SrvDog: TDataSource
    DataSet = ds_SrvDog
    Left = 312
    Top = 136
  end
  object ds_SrvDog: TpFIBDataSet
    SelectSQL.Strings = (
      'select S.CODE, '#39#8470' '#39'||S.NOMER||'#39' ('#39'||sd.name||'#39')'#39' NAME'
      'from SRVDOG S'
      'left outer join srvdogtype sd on sd.code = s.atype'
      'where KONTRAGENT = :kontr and "ACTIVE" = 1')
    Transaction = cmDb.RT
    Database = cmDb.DB
    UpdateTransaction = cmDb.WT
    Left = 360
    Top = 136
  end
end
